<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="blog/amaze/header::head-fragment"></head>
<body id="blog">
<script type="text/javascript">
    function checkTheme() {
        var theme = $("#theme");

    }
</script>
<div th:replace="blog/amaze/header::nav-fragment"></div>
<div th:replace="blog/amaze/header::header-fragment"></div>
<!--<div class="am-g am-g-fixed blog-fixed">-->
<!--    <div th:replace="blog/amaze/blog-list::blog-list-fragment"></div>-->
<!--    <div th:replace="blog/amaze/side::side-fragment"></div>-->
<!--</div>-->
    <div class="am-g am-g-fixed">
        <p style="color: #0C9A9A">请选择一种主题，默认为主题一
<!--            <th:block th:if="${theme == null}">-->
<!--                主题一-->
<!--            </th:block>-->
<!--            <th:block th:if="${theme != null}">-->
<!--                ${theme}-->
<!--            </th:block>-->
        </p>
            <form method="get" th:action="@{/theme}">
                <select name="themeType">
                    <option>主题一</option>
                    <option>主题二</option>
                    <option>主题三</option>
                </select>
                <button type="submit">切换主题</button>
            </form>
    </div>
<footer th:replace="blog/amaze/footer::footer-fragment"></footer>
</body>
<script th:src="@{/blog/plugins/jquery/jquery.min.js}"></script>
<script th:src="@{/blog/plugins/search/search.js}"></script>
</html>